import * as actionTypes from '../constants/index'
const initState = {
  address:'全网',
  value:''
}
const sInput = (state = initState, action) => {
  switch(action.type) {
    case actionTypes.INPUT_UPDATE:
      return {...state,...action.payload};
    default:
      return state;

  }
}

export { sInput }